SwipeableIF

An interface for swipeable widgets.

The AdwSwipeable interface is implemented by all swipeable widgets.

See [class@SwipeTracker] for details about implementing it.

Members

Functions

getCancelProgress
double getCancelProgress()

Gets the progress @self will snap back to after the gesture is canceled.

getDistance
double getDistance()

Gets the swipe distance of @self.

getProgress
double getProgress()

Gets the current progress of @self.

getSnapPoints
double[] getSnapPoints()

Gets the snap points of @self.

getStruct
void* getStruct()

the main Gtk struct as a void*

getSwipeArea
void getSwipeArea(AdwNavigationDirection navigationDirection, bool isDrag, GdkRectangle rect)

Gets the area @self can start a swipe from for the given direction and gesture type.

getSwipeableStruct
AdwSwipeable* getSwipeableStruct(bool transferOwnership)

Get the main Gtk struct

Static functions

getType
GType getType()

Meta